package com.wb3.meta.api.core.service;

import com.wb3.meta.api.core.model.ToysWorld;
import com.wb3.meta.api.core.vo.ReqToysWorldVo;
import com.wb3.meta.api.core.vo.ResToysWorldVo;
import com.wb3.meta.common.plugin.CommonResultServiceInterface;
import com.wb3.meta.common.pojo.ResultT;

import java.io.IOException;

public interface ToysWorldService extends CommonResultServiceInterface<ReqToysWorldVo, ResToysWorldVo, ToysWorld> {
    ResultT getWorldEvent(ReqToysWorldVo reqToysWorldVo) throws IOException;

    ResultT eventChoose(ReqToysWorldVo reqToysWorldVo);

    void handleWorldCountTask();

    ResultT eventAccelerate(ReqToysWorldVo reqToysWorldVo);

    ResultT raffle(ReqToysWorldVo reqToysWorldVo);
}
